package com.kongchengji.spider.util;
import okhttp3.OkHttpClient;
import java.util.concurrent.TimeUnit;

public class SingleOkhttpClientUtil {
    private static OkHttpClient okHttpClient = new OkHttpClient.Builder()
            .connectTimeout(5000, TimeUnit.MILLISECONDS)
                    .build();

    private SingleOkhttpClientUtil() {
    }
    public static OkHttpClient getInstance() {
        return okHttpClient;
    }

}
